@import url(resset.css);

h1{
    color: #FFB432;
    font-size: 2.1em;
    font-weight: normal;
    margin-bottom: 0.5em;
}
#header{
    background: #5D6169;
    padding: 10px;
    border-bottom: 5px solid #FF9317;
    margin: 0 0 1px 0;
}
#content{
    background: url("../images/bg_left.gif") repeat-y scroll 148px top;
}
#left{
    float: left;
    width: 200px;
}
#left ul{
    padding: 10px;
}
#left li a {
    display: block;
    font-size: 1.1em;
    padding: 4px 4px 4px 25px;
    margin: 3px 0;
    color: #3D6B7E;
    text-decoration: none;
    background-position: 3px center;
    background-repeat: no-repeat;
}
#left li span{
    color: #64A1D7;
    cursor: default;
    font-size: 1.25em;
    font-weight: bold;
    padding: 0 0 4px 25px;
}
#left li a:hover{
    color: #58ACCE;
}
#left li.active a{
    background-color: #FFFFFF;
    border-color: #D9EDF0 #FFFFFF #B4D5DA #D9EDF0;
    border-style: solid;
    border-width: 1px;
    margin: 0 -22px 0 0;
}
#right{
    margin: 0 0 0 200px;
    padding: 0 20px;
    border-left: 1px solid #D9EDF0;
}
#footer{
    background: none repeat scroll 0 0 #64A1D7;
    color: #FFFFFF;
    margin: 20px -20px 0;
    padding: 4px;
}
#right .menu{
    padding: 0 5px;
    background: url("../images/mnu_bg.gif") repeat-x #89C6EE;
    color: #FFFFFF;
    height: 34px;
    margin: 0 -20px 10px;
}
#right .menu ul {
    float: left;
    padding: 8px 0 0;
}
#right .menu ul li{
    float: left;
}
#right .menu ul li a {
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    background: url("../images/mnu_a_bg.gif") repeat-x;
    display: block;
    float: left;
    margin: 0 1px;
    padding: 6px 15px;
    color: #666666;
    text-decoration: none;
}
#right .menu ul li a span{
    background-position: left center;
    background-repeat: no-repeat;
    padding: 2px 0 2px 20px;
}
#right .menu ul li a:hover {
    text-shadow: 1px 1px 0 #FFFFFF;
    color: #623E00;
    background: url("../images/bg_topmenu2.gif") repeat-x #EDFCFE;
    text-decoration: none;
}
#right .menu ul li.active a {
    background: #FFFFFF;
    margin: 1px 1px 0;
    color: #000000;
}

#right table.list{
    margin: 10px 0;
    width: 100%;
}
#right table.list th{
    color: #666666;
    border-bottom: 10px solid #83C2ED;
    padding: 2px 6px;
}
#right table.list th._20{
    width: 20px;
}
#right table.list td{
    border-bottom: 1px solid #7BC4CF;
    padding: 2px 6px;
    color: #88A3AE;
}
#right table.list tr:hover td{
    background: #EDFCFE;
}
#right table.list tr.edit{
	display: none;
}
table.list textarea{
	height: 24px;
    min-height: 24px;
	min-width: 0;
	max-width: none;
	resize: vertical;
}
table.list textarea:focus{
    /*min-height: 55px;*/
}
.row{
    margin: 5px 0;
}
.center {
    text-align: center;
}
a{
    color: #3D6B7E;
}
a.button {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: url("../images/btn_left.gif") repeat-x 1px -1px;
    border: 1px solid #E0E0E0;
    display: inline-block;
    padding: 6px 10px 5px;
    text-decoration: none;
}
a.button:hover{
    color: #623E00;
    background: url("../images/btn_left.gif") repeat-x 1px -27px;
    text-shadow: 1px 1px 0 #FFFFFF;
}
a.button span{
    padding: 2px 0 1px 20px;
}
a.add_item span{
    background: url(../images/add_item.png) no-repeat left center;
}
a.add_club span{
    background: url(../images/card-plus.png) no-repeat left center;
}
a.img_plus span{
    background: url(../images/img-plus.png) no-repeat left center;
}


/* collumns */
.collumns,
.collumns .collumn_2,
.collumns .collumn_3{
    float: left;
}
.collumns {
    width: 100%;
}
.collumns .collumn_3{
    width: 33%;
}
.collumns .collumn_2{
    margin: 0 1% 0 0;
    width: 49%;
}

input[type="submit"],
input[type="reset"],
input[type="button"]{
    font-size: 100%;
    margin: 0 2px;
    padding: 3px 6px
}

input[type="text"],
input[type="date"],
input[type="password"],
textarea,
select{
    padding: 0 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #F6F6F6;
    border: 1px solid #7F9DB9;
    height: 24px;
    width: 100%;
    font-size: 1em;
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus{
    background: #FFF;
}
select{
    height: auto;
    padding: 4px 0;
}
textarea{
    height: 55px;
    min-height: 55px;
	max-width: 100%;
	min-width: 100%;
}

/* blocks */
.fields{
    border: 1px solid #D0D8E7;
    margin: 3px;
    padding: 1px;
}
.field{
    line-height: 16px;
    /*padding: 3px;*/
    margin: 1px 0;
}
.field strong{
    color: #FFAD32;
}
.hendler{
    cursor: pointer;
    border: 1px solid #F2F2F2;
    background: #F2F2F2;
    padding: 3px;
}
.field.selected .hendler,
.module.selected {
    background: #FFE4BE !important;
    cursor: default !important;
}
.block{
    border: 1px solid #F2F2F2;
    margin: 1px -1px;
    padding: 5px;
}


/* modules*/
.modules{
    border: 1px solid #D0D8E7;
    margin: 3px;
    padding: 1px;
}
.module{
    background: #EDFCFE;
    margin: 1px 0;
    padding: 5px 5px 5px 27px;
    cursor: pointer;
}
input.addModule{
    background: url("../images/application--plus.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.addField{
    background: url("../images/ui-tooltip--plus.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.copyBlocks,
input.paste{
    background: url("../images/paste.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.save{
    background: url("../images/disk.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.apply{
    background: url("../images/disk-arrow.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.login{
    background: url("../images/unlock.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.cancel{
    background: url("../images/delete.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input.plus{
    background: url("../images/plus.png") no-repeat 4px 3px #F0ECE3;
    padding: 3px 6px 3px 25px;
}
input[type="submit"][value=""],
input[type="reset"][value=""],
input[type="button"][value=""],
input[type="submit"][value=" "],
input[type="reset"][value=" "],
input[type="button"][value=" "]{
	padding: 3px 0 3px 16px !important;
	background-position: center center;
}
input[type="button"][class]:active,
input[type="submit"][class]:active,
input[type="reset"][class]:active{
    background-position: 5px 4px;
}


/* block_properties */
#block_properties{
    padding: 10px;
}
#block_properties h3{
    border-bottom: 1px solid #ACD6F3;
    color: #64A1D7;
    font-weight: normal;
    font-size: 2em;
}
#block_properties table{
    border-collapse: collapse;
    min-width: 300px;
    padding: 0;
    width: 100%;
}
#block_properties td:last-child{
    width: 200px;
}
#block_properties td{
    border-bottom: 1px solid #ACD6F3;
    padding: 3px;
}
#block_properties td.buttons{
    padding: 5px;
    text-align: center;
}
#block_properties tr tr:last-child td{
    border-bottom: none;
}
#block_properties td#actionProperties{
    padding: 0 ;
}
.succes{
    color: darkred;
    font-weight: bold;
}

.buttons{
    margin: 10px 0;
    text-align: center;
}

.block img.button {
    cursor: pointer;
    float: right;
    margin: 0 4px;
}
.errors{
    /*background: none repeat scroll 0 0 pink;*/
    border: 1px solid darkRed;
    color: darkRed;
    margin: 10px;
    padding: 10px;
}
.errors .error{
	border-bottom: 1px dashed;
    margin: 10px 0;
    padding: 0 0 10px;
}
.error .message{
	font-size: 200%;
    font-weight: bold;
	display: block;
}
.error .line_number{
	color: lightGrey;
    font-size: 9px;
}
.error .trace{
	margin: 10px 0;
	display: block;
}
.error .code{
	background: paleGoldenRod;
    float: right;
    padding: 3px;
}
.error .file_content{
	display: block;
}
.error .code:before{
	content: "Код ошибки: "
}
.error .file{
	font-weight: normal;
	display: inline-block;
	border-bottom: 1px dashed;
	cursor: pointer;
}
.error .file:before{
	content: "Файл: "
}
.error .file_content{
}
.error .line{
	display: block;
}
.error .line:before{
	content: "Строка # "
}
.error .current{
	background: paleGoldenRod;
	/*    display: block;*/
}

#edit_menu_left{
    border: 1px solid #64A1D7;
    margin: 0 35% 0 0;
    padding: 1%;
}

#edit_menu_right{
    border: 1px solid #64A1D7;
    float: right;
    padding: 0.5%;
    width: 33%;
}
#edit_menu_cart {
    background: url("../images/trash.png") no-repeat scroll 5px center;
    border: 1px solid red;
    min-height: 24px;
    margin: 20px -0.5% -0.5%;
    padding: 0.5%;
}
#header .menu {
    margin: 0 0 -10px;
}
#header .menu ul{

}
#header .menu ul li{
    display: inline-block;
    margin: 0 1px;
    border-bottom: 1px solid #8B8E96;
}
#header .menu ul li.active{
    border-bottom: 1px solid #FF9317;
}
#header .menu ul li a{
    color: #FFF;
    text-decoration: none;
    padding: 10px 25px;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    background: #A9ACB4;
    display: inline-block;
}
#header .menu ul li.active a{
    color: #FFFFFF;
    font-size: 110%;
    padding: 15px 25px 10px;
    background: #FF9317;
}
#header .menu ul li a:hover{
    background: #FF9317;
}
form.load input[type="submit"],
input.load{
    background: url("../images/preloader.gif") no-repeat 4px 3px #F0ECE3 !important;
}
select.load{
	background: url("../images/preloader.gif") no-repeat 5px center;
}
a.load{
	background: url("../images/preloader.gif") center center;
    height: 16px;
    width: 16px;
	display: inline-block;
}
a.load img{
	display: none;
}
#right table.list tfoot tr:first-child td{
    border-top: 10px solid #83C2ED;
}
#right table.list tr:last-child td{
    border-bottom: none;
}

#login div.login {
    background: url("/tpl/admin/images/lock_128.png") no-repeat scroll right top;
    height: 100px;
    left: 50%;
    margin: -64px 0 0 -100px;
    padding: 31px 60px 0 0;
    position: absolute;
    top: 50%;
    width: 200px;
}
#login div.login table{
    width: 100%;
}
#login div.login .errors{
    margin: 10px -50px 0 0;
}
#login div.login input[type="text"],
#login div.login input[type="password"]{
    background: rgba(0, 0, 0, 0.06);
}
#login div.login input[type="text"]:focus,
#login div.login input[type="password"]:focus{
    background: rgba(255, 255, 255, 0.5);
}
.hidden{
    display: none;
}
.redactor{
    height: 500px;
}
.cut{
    border-bottom: 1px dashed orange;
    margin: 10px;
}
.comments{
	border-top: 1px dashed;
    margin: 10px 0;
    padding: 10px 0;
}
.comments ul,
.comments li{
	margin: 0;
	padding: 0;
	list-style: none;
}
.comments ul ul{
	margin: 0 0 0 10px;
}
.comments li.level_0{
	background: #E9E9E9;
	padding: 10px;
	margin: 10px 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
    border: 1px solid #E4E4E4;
}
.comments li.level_0:nth-child(even){
	background: #EFEFEF;
}
.comments .reply{
	text-align: right;
}
#src_blocks{
	border-top: 1px solid lightblue;
}
.prp label{
	display: block;
}